package com.seeyou.lake.base

import android.app.Application
import android.content.Context
import androidx.lifecycle.MutableLiveData
import androidx.multidex.MultiDex


/**
 * @des Application
 * @date 2021/9/23
 * @author fade
 */
class MyApplication : Application() {

    companion object {
        @JvmStatic
        lateinit var mApplication: MyApplication
        //全局广播
        val mAppMessage = MutableLiveData<MessageBean>()

    }

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
        MultiDex.install(base)
    }

    override fun onCreate() {
        super.onCreate()
        mApplication = this

    }

}